<?php
/**
 * Created by PhpStorm.
 * User: 李京蔚
 * Date: 2018/6/7
 * Time: 18:37
 */

namespace App\Http\Controllers\Common;


use App\Api\Helpers\Api\ApiResponse;
use App\Http\Controllers\Controller;

class ApiController extends Controller
{
    use ApiResponse;

    function is_image($mimeType)
    {
        return starts_with($mimeType, 'image/');
    }
}
